package com.briup.demo.mapper;

import com.briup.demo.bean.CmsMember;
import java.util.List;

public interface CmsMemberMapper {
    int deleteByPrimaryKey(String id);

    int insert(CmsMember record);

    CmsMember selectByPrimaryKey(String id);

    List<CmsMember> selectAll();

    int updateByPrimaryKey(String id);
    
    /**
     * 	按照用户编号，更新指定用户的状态。
     * @param memberId
     * @param state
     * @return
     */
    int updateStateById(String memberId,String state);
}